package xin.marcher.module.common.constants.seller;

/**
 * 卖家Redis key常量
 */
public class SellerRedisKeyConstants {

    /**
     * 自营卖家类型分页缓存
     */
    public static final String SELF_TYPE_LIST = "self_type:";

    /**
     * POP卖家类型分页缓存
     */
    public static final String POP_TYPE_LIST = "pop_type:";

    /**
     * 卖家信息缓存
     */
    public static final String SELLER_INFO_LIST = "seller_info:";

    /**
     * 子卖家ID缓存
     */
    public static final String CHILD_SELLER_COLLECTION = "child_seller_collection:";

    /**
     * 卖家信息缓存预热分布式锁key
     */
    public static final String SELLER_INFO_CACHE_PREHEAT_LOCK = "seller_info_cache_preheat_lock";

    /**
     * 卖家信息缓存预热状态key 0代表预热失败，1代表已经预热成功
     */
    public static final String SELLER_INFO_CACHE_PREHEAT_SUCCESS = "seller_info_cache_preheat_success";

}
